﻿#ifndef AREAWIDGET_H
#define AREAWIDGET_H

#include <QWidget>
#include <QVector>

class QGridLayout;
class QSpacerItem;
class QPushButton;

namespace Ui {
class AreaWidget;
}

class AreaManageWidget;

class AreaWidget : public QWidget
{
    Q_OBJECT

public:
    explicit AreaWidget(QWidget *parent = nullptr);
    ~AreaWidget();

//    void clearAllData();

    void showProductInfo();

private:
    Ui::AreaWidget *ui;

    int _iColumn{2};
    QGridLayout *_gridLayout{ nullptr };
    QSpacerItem *_horizontalSpacer{nullptr};
    QSpacerItem *_verticalSpacer{nullptr};

    QVector<QPushButton*> _vecButton;
};

#endif // AREAWIDGET_H
